home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-12-05 | 3.3 KB | 83 lines | [TEXT/ttxt] |
- MSG is a Mac Workstation exec to watch incomming and outgoing Mac Workstation
- message traffic. It also lets messages be sent to the control host or
- mac workstation for test purposes
-
- MSG was written by Aaron Wohl a Carnegie Mellon University employee
- while atending the Apple MacWorkstation class. It is not warentied or
- guarentied. No body assumes any liabilty for it. Apple has not
- taken any position conerning its use and is not connected with it
- in any way.
-
- Installation:
- Run RESEDIT copy the resource "CMU Message Watcher" from MSG.EXEC
- Paste it into the desired mac workstation document or macworkstation itself
-
- Startup:
- To see all of the messages sent and recieved MSG needs to be loaded
- before any other exec (particuarly Event Hander or Event Player).
- This is typicaly done by adding the line:
- Exec 200
- To a startup ccl logon script before loading a
- transport to invoke MSG.
-
- You may WANT to load it after some other execs are loaded to reduce the
- clutter displayed. In this case don't load it in startup script but
- later load it with something like X001 3;200
-
- Use:
- Mostly you just read the message window to see what is going on. You may copy
- messages out of the window to paste them into code you are constructing.
-
- You can
- paste into a msg window in order to transmit a message. Cmd-V (paste) will
- transmit the data in the scrap into mac workstation as though it had
- been recieved by mws from your host. If the shift key is down when pasting
- the scrap will be transmited to your host as though mws had sent it.
- Paste is used during debugging to try sending a message one time.
-
- Cmd-H will display this help text:
- ! CMU Mac Workstation message watcher
- ! by Aaron Wohl, aw0g+@andrew.cmu.edu (412)268-5032
- ! cmd-c => copy to clip board stripping leading '<' and '>'
- ! cmd-c-shift => copy to clip don't strip leading '<' and '>'
- ! cmd-v => Paste to local macworktation
- ! cmd-v-shift => Paste to server host
- ! cmd-h => This help message
- ! start me in ccl logon script to see all messages eg 'Exec 200
-
- MSG processes the command keys itself. Thus it will function before the standard menu
- is installed.
-
- *************************
- Below this point we discuss the MSG sources and rebuilding from source. If you
- only want to use MSG and not change it you need read no further.
-
- MSG is built using THINK c v.4.0
-
- Here is how to set up the project file to build. Note:a project
- file is sent with the sources so this is only needed to start from
- scratch.
- The project type must be code resource
- Check the box for custom header in the project type
- The resource type should be MWSX
- The resource ID can be anything, 200 is recomended.
- Note:ID 0 is special and is loaded automaticaly by mws when a connect
- happens. Apple's Event Handler/Event player are ID 0, so don't use that
- number unless you don't use them.
- Multi segment should not be set
- Resource atributes:locked
- File Type and file creator are not important
-
- Debugging tip:While doing development compile directly into a mac workstation
- document by setting the merge check box on the build code resource dialog.
- Obviously the document shouldn't be open by mws at the time.
-
- Created 12:45:39 AM 10/26/89 by Aaron Wohl, aw0g+@andrew.cmu.edu
- Aaron Wohl
- 6393 Penn Ave #303
- Pittsburgh PA,15206
- home:(412)731-6159
- work:(412)268-5032
- Do what you will with it
- Probably needs LightspeedC 4.0, haven't tried 3.xx
-